const menu = [
    {
        name:'home',
        path:'/home',
        meta:{
            title:'首页',
            type:'menu',
            icon:"el-icon-eleme-filled"
        },
        children:[{
            name:"dashboard",
            path:"/dashboard",
            component:"home",
            meta:{
                title:"控制台",
                icon:"el-icon-menu",
                type:"menu"
            },
        },{
            name:"userCenter",
            path:"/usercenter",
            component:"userCenter",
            meta:{
                title:"帐号信息",
                icon:"el-icon-eleme-filled",
                type:"menu",
                tag:"NEW"
            },
        }],
    },
    {
        name:'user',
        path:'/user',
        meta:{
            title:'用户',
            type:'menu',
            icon:'el-icon-user-filled'
        },
        children:[{
            name:'member',
            path:'/member',
            meta:{
                title:'会员管理',
                type:'menu',
                icon:"el-icon-lock"
            },
            children:[{
                name:'corporate-member',
                path:"/member/corporate",
                component:'User/Member/corporate-member.vue',
                meta:{
                    title:'企业会员',
                    type:'menu'
                }
            },{
                name:'individual-member',
                path:"/member/individual",
                component:'User/Member/individual-member.vue',
                meta:{
                    title:'个人会员',
                    type:'menu'
                } 
            },{
                name:'invalid-member',
                path:"/member/invalid",
                component:'User/Member/invalid-member.vue',
                meta:{
                    title:'无效会员',
                    type:'menu'
                } 
            }]
        },{
            name:'resume',
            path:"/resume",
            meta:{
                title:"个人简历管理",
                type:"menu",
                icon:"el-icon-tickets"
            },
            children:[{
                name:'All-resumes',
                path:'/resume/allresumes',
                meta:{
                    title:"全部简历",
                    type:'menu'
                },
                component:"User/Resume/allResume"
            },
            {
                name:'resume-recycled',
                path:'/resume/recycled',
                meta:{
                    title:"简历回收站",
                    type:'menu'
                },
                component:"User/Resume/recycled"
            },
            {
                name:'job_apply',
                path:'/resume/job_apply',
                meta:{
                    title:"投递简历记录",
                    type:'menu'
                },
                component:"User/Resume/jobApply"
            }]
        },{
            name:'firm',
            path:"/firm",
            meta:{
                title:"企业",
                type:"menu",
                icon:'el-icon-office-building'
            },
            children:[{
                name:'all-clue',
                path:'/frim/allclus',
                meta:{
                    title:"全部线索",
                    type:'menu'
                },
                component:"User/Frim/allClus"
            },{
                name:'personal-clue',
                path:'/frim/personalclus',
                meta:{
                    title:"个人线索",
                    type:'menu'
                },
                component:"User/Frim/personal-clue"
            },{
                name:'high-seas-clue',
                path:'/frim/highseasclus',
                meta:{
                    title:"线索公海",
                    type:'menu'
                },
                component:"User/Frim/high-seas-clue"
            },{
                name:'allclient',
                path:'/frim/allclient',
                meta:{
                    title:"全部客户",
                    type:'menu'
                },
                component:"User/Frim/allClient"
            },{
                name:'myclient',
                path:'/frim/myclient',
                meta:{
                    title:"我的客户",
                    type:'menu'
                },
                component:"User/Frim/myClient"
            },{
                name:'highSeasClient',
                path:'/frim/highSeasClient',
                meta:{
                    title:"客户公海",
                    type:'menu'
                },
                component:"User/Frim/highSeasClient"
            }]
        },{
            name:'position',
            path:'/position',
            meta:{
                title:'职位',
                menu:'menu',
                icon:'el-icon-avatar'
            },
            children:[{
                name:'jobmanagement',
                path:'/position/jobmanagement',
                meta:{
                    title:"职位管理",
                    type:'menu'
                },
                component:"User/Position/jobmanagement"
            }]
        }]
    },
    {
        name:'content',
        path:'/content',
        meta:{
            title:'内容',
            type:'menu',
            icon:"el-icon-reading"
        },
        children:[
            {
                name:'advertise',
                path:'/advertise',
                meta:{
                    title:'广告管理',
                    type:'menu',
                    icon:"el-icon-postcard"
                },
                children:[{
                    name:'advertisingSpace',
                    path:'/advertise/advertisingSpace',
                    meta:{
                        title:'广告位',
                        type:'menu'
                    },
                    component:'Content/advertisingSpace'
                },{
                    name:'advertisingList',
                    path:'/advertise/advertisingList',
                    meta:{
                        title:'广告列表',
                        type:'menu'
                    },
                    component:'Content/advertisingList' 
                },{
                    name:'addAdvertisingSpace',
                    path:'/advertise/addadvertisingSpace',
                    meta:{
                        title:'添加广告位',
                        type:'button'
                    },
                    component:'Content/addAdvertisingSpace'
                },{
                    name:'editAdvertisingSpace',
                    path:'/advertise/editadvertisingSpace',
                    meta:{
                        title:'编辑广告位',
                        type:'button'
                    },
                    component:'Content/editAdvertisingSpace'
                },{
                    name:'addadvertising',
                    path:'/advertise/addadvertising',
                    meta:{
                        title:'添加广告',
                        type:'button'
                    },
                    component:'Content/addadvertising'
                },{
                    name:'editadvertising',
                    path:'/advertise/editadvertising',
                    meta:{
                        title:'编辑广告',
                        type:'button'
                    },
                    component:'Content/editadvertising'
                }]
            }
        ]
    },
    {
        name:'system',
        path:'/system',
        meta:{
            title:'系统设置',
            type:'menu',
            icon:"el-icon-setting"
        },
        children:[
            {
                name:'category',
                path:'/category',
                meta:{
                    title:'分类配置',
                    type:'menu',
                    icon:"el-icon-tools"
                }, 
                children:[{
                    name:'area',
                    path:'/category/area',
                    meta:{
                        title:'地区分类',
                        type:'menu'
                    },
                    component:'System/Category/area'
                },{
                    name:'position',
                    path:'/category/position',
                    meta:{
                        title:'职位分类',
                        type:'menu'
                    },
                    component:'System/Category/position'
                },{
                    name:'specialized',
                    path:'/category/specialized',
                    meta:{
                        title:'专业分类',
                        type:'menu'
                    }, 
                    component:'System/Category/specialized'
                }]
            },
            {
                name:'systemManagement',
                path:'/systemManagement',
                meta:{
                    title:'系统管理',
                    type:'menu',
                    icon:'el-icon-cpu'
                }, 
                children:[{
                    name:'administrator',
                    path:'/systemManagement/administrator',
                    meta:{
                        title:'管理员列表',
                        type:'menu'
                    }, 
                    component:'System/systemManagement/administrator'
                },{
                    name:'role',
                    path:'/systemManagement/role',
                    meta:{
                        title:'角色权限设置',
                        type:'menu'
                    }, 
                    component:'System/systemManagement/role'
                }]
            }
        ]
    }
];


export default menu



